package com.liang.cloudorder8081.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: XIAOLIANG
 * Date: 2021/5/24
 * Time: 17:31
 * Description: No Description
 */
@FeignClient("server-product")
public interface FeignProductService {


    @RequestMapping("/product/{id}")
    Map getOrder(@PathVariable("id") Integer id);


}
